/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package corejava;



/**
 *
 * @author HuynhNB
 */
public class Person implements Comparable<Object> {
    private String name;
    private int age;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
    
    
    @Override
    public int compareTo(Object o) {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }
    
    
    
}
